<?php


namespace app\common\model;
use think\Model;


class NewsType extends Model
{
    public function news(){
        return $this->hasMany('News','type_id');
    }

}